add_to_path() {
    for i; do export PATH="$i":$PATH; done;
}

add_to_path "$HOME"/bin
add_to_path "$HOME"/.local/bin
add_to_path /media/programs/matgay-r2022b/bin/
add_to_path /media/programs/maple/bin
add_to_path /media/programs/xilinx/Vivado/2023.2/bin
add_to_path /media/programs/workcraft

export EDITOR=nvim

# 0 pc, 1 acer, 2 dankpad
export PERSONALDEVICE=0

export ROVER_OPEN=${HOME}/bin/open

export JAVA_HOME="/usr/lib/jvm/openjdk17"
export _JAVA_AWT_WM_NONREPARENTING=1
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'
#export DOTNET_ROOT="${HOME}/.dotnet"
#export DOTNET_CLI_TELEMETRY_OPTOUT=1

export QT_SCALE_FACTOR=1
export QT_AUTO_SCREEN_SCALE_FACTOR=0

export TZ=Europe/Vienna

source $HOME/bin/quartus_env
